package com.niiwoo.civet.account.dto.common.sendmessage;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Decription 投资回款通知【借款用户提前还款】
 *
 * @Author Jaylin
 * @Date 2017-12-26
 */
@Getter
@Setter
public class InvestReceiveAdvanceDTO implements Serializable{

    private static final long serialVersionUID = -6537808943038911081L;

    private String userId;

    private Long projectId;

    private String projectTitle; //项目标题

    private String receiveDate;  //回款日期

    private BigDecimal receiveAmount;  //回款金额

    private BigDecimal receiveTotalAmount;  //回款总额

    private BigDecimal receiveCorpus; //回款本金

    private BigDecimal receiveInterest;  //回款利息

    private BigDecimal receiveOverdueFine;  //回款罚息

    /**
     * 是否被打包的标的
     */
    private Boolean isPackagedProject;

    private String packageTitle;

    /**
     * 期限
     */
    private Integer deadline;

    /**
     * 期限单位
     */
    private Byte deadlineUnit;

    /**
     * 当前期包中已回标款标的数量
     * (已投资订单为维度，累计只要有过回款的标的数量)
     */
    private Integer currentPeriodPackageReceivedProjectNum;

    /**
     *
     * 包投资订单回款类型
     * (1：其中一个标的提前结清，2：正常/逾期回款，3：包投资订单全部结清)
     */
    private Byte packageInvestOrderReceivedType;

    /**
     * 包投资订单提交时间
     */
    private Date packageInvestOrderSubmitTime;

    /**
     * 当前期包订单累计已回款总额
     */
    private BigDecimal currentPeriodPackageInvestOrderReceiveTotalAmount;

    /**
     * 包订单累计已回款标的数
     */
    private Integer packageInvestOrderReceivedProjectNum;

    /**
     * 包订单累计已回款总额
     */
    private BigDecimal packageInvestOrderReceiveTotalAmount;

    /**
     * 包订单累计已回款本金
     */
    private BigDecimal packageInvestOrderReceiveCapital;

    /**
     * 包订单累计已回款利息
     */
    private BigDecimal packageInvestOrderReceiveInterest;

    /**
     * 包订单累计已回款罚息
     */
    private BigDecimal packageInvestOrderReceivePenaltyFee;
}
